#ifndef DIALOGPWD_H
#define DIALOGPWD_H

#include <QDialog>

namespace Ui {
class DialogPwd;
}

class DialogPwd : public QDialog
{
    Q_OBJECT

public:
    explicit DialogPwd(QWidget *parent = nullptr);
    ~DialogPwd();

    void setOldPwd(QString strPwd);
    QString getPwd();

private:
    Ui::DialogPwd *ui;

    void initForm();
    void initConfig();

    QString m_strOldPwd;
    QString m_strNewPwd;

private slots:
    void onButtonClickedSave();

};

#endif // DIALOGPWD_H
